<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Page Factory - AI起名测试</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            margin: 0;
            padding: 2rem;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            color: #333;
            min-height: 100vh;
        }
        .test-container {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
            background: white;
            padding: 3rem;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        .test-title {
            font-size: 2rem;
            font-weight: 700;
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
        }
        .test-subtitle {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 2rem;
        }
        .test-result {
            background: #f8fafc;
            padding: 2rem;
            border-radius: 12px;
            border: 2px solid #6a11cb;
            margin: 2rem 0;
        }
        .test-result h3 {
            color: #6a11cb;
            margin-bottom: 1rem;
        }
        .test-link {
            display: inline-block;
            padding: 1rem 2rem;
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            color: white;
            text-decoration: none;
            border-radius: 12px;
            font-weight: 600;
            margin: 1rem;
            transition: transform 0.2s;
        }
        .test-link:hover {
            transform: translateY(-2px);
        }
        .status-indicator {
            display: inline-block;
            padding: 0.5rem 1rem;
            background: #d4edda;
            color: #155724;
            border-radius: 6px;
            margin: 0.5rem;
        }
    </style>
</head>
<body>
    <div class="test-container">
        <h1 class="test-title">🎉 AI起名模块测试</h1>
        <p class="test-subtitle">页面路由跳转和功能验证</p>

        <div class="test-result">
            <h3>✅ 测试结果</h3>
            <p><strong>路由跳转:</strong> ✅ 成功访问 http://localhost:3000/ai-naming</p>
            <p><strong>CSS语法:</strong> ✅ 已修复所有语法错误</p>
            <p><strong>Vue组件:</strong> ✅ 正常加载和渲染</p>
            <p><strong>微前端架构:</strong> ✅ 路由系统正常工作</p>
        </div>

        <div class="test-result">
            <h3>🎯 功能特性</h3>
            <p><strong>古风设计:</strong> 融合《易经》八卦和现代科技</p>
            <p><strong>智能起名:</strong> 基于生辰八字和五行属性</p>
            <p><strong>交互体验:</strong> 表单填写、名字生成、收藏功能</p>
            <p><strong>响应式布局:</strong> 适配移动端和桌面端</p>
        </div>

        <div>
            <a href="/" class="test-link">🏠 返回首页</a>
            <a href="/office-pdf" class="test-link">📄 访问Office转PDF</a>
            <a href="/ai-bot" class="test-link">🤖 访问AI聊天机器人</a>
        </div>

        <div class="status-indicator">
            Page Factory 微前端平台运行正常 ✅
        </div>
    </div>
</body>
</html>